import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useAlarmStore = defineStore('alarm', () => {
    const unresolvedCount = ref(0)

    function setUnresolvedCount(count) {
        unresolvedCount.value = count
    }

    return {
        unresolvedCount,
        setUnresolvedCount
    }
})
